Fix bug #9212 with selective-display under bidi.
authorEli Zaretskii <eliz@gnu.org>
Mon, 1 Aug 2011 17:34:04 +0000 (20:34 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 1 Aug 2011 17:34:04 +0000 (20:34 +0300)
commitb0d3d12bbccc44cd119bf3835746efe53dd410e0
treefaefa90de8c98d1ab56f26e5de13fd369d2bb8fb
parentf88adb6a39c7ac409a6400e13e61bd7b2e5745af
Fix bug #9212 with selective-display under bidi.

 src/xdisp.c (forward_to_next_line_start): Accept additional argument
 BIDI_IT_PREV, and store into it the state of the bidi iterator had
 on the newline.
 (reseat_at_next_visible_line_start): Use the bidi iterator state
 returned by forward_to_next_line_start to restore the state of
 it->bidi_it after backing up to previous newline.  (Bug#9212)
src/ChangeLog
src/xdisp.c